'''
Contains classes to represent Members and Transactions
'''

class Data :
	'''
	Holds data as defined by the point provided when created
	'''
	def __init__ ( self , *points ) :
		self.id = 0
		self.data = {}
		for point in points :
			self.data [ point ] = None
	def update_info ( self , **info ) :
		for key in self.data.keys ( ) :
			if info.has_key ( key ) :
				self.data [ key ] = info [ key ] 
	def update_id ( self , new_id ) :
		self.id = new_id
	def id ( self ) :
		return self.id
	def info ( self ) :
		return data
		                                               
